package cool.houge.pig.service.register;

import reactor.core.publisher.Mono;

/**
 * 帐号注册服务接口.
 *
 * @author KK (kzou227@qq.com)
 */
public interface RegisterService {

  /**
   * @param input
   * @return
   */
  Mono<EmailRegisterOutput> register(EmailRegisterInput input);

  /**
   * @param input
   * @return
   */
  Mono<EmailActivateOutput> activate(EmailActivateInput input);
}
